<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
	<script type="text/javascript">
	$(function() {
		//DataGrid初始化
		$('#dModuleDataGrid').datagrid({
			url:'module!loadData',
			nowrap: false,
			border:false,
			striped: true,
			collapsible:true,
			sortName: 'id',
			singleSelect:true,
			sortOrder: 'desc',
			remoteSort: false,
			idField:'id',			
			//pagination:true,
			rownumbers:true,
			columns:[[
			           {field:'name',title:'名称',width:300}
					]]
		});
	});
	</script>
	<div id="dModuleDataGrid"></div>
</body>
</html>